The difference between x and ‘x’ is?

Question:
The difference between x and ‘x’ is?

1.The first one refers to a variable whose identifier is x and the second one refers to the character constant x

2.The first one is a character constant x and the second one is the string literal x

3.Both are same

4.Both are string literal

Posted Date:-2021-02-21 05:14:35


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!